Maintenance | add Pillow 12 support | drop Python 3.9#177
Merged
Stormheg merged 7 commits intowagtail:mainfrom Oct 26, 2025
Merged
Maintenance | add Pillow 12 support | drop Python 3.9#177Stormheg merged 7 commits intowagtail:mainfrom
Stormheg merged 7 commits intowagtail:mainfrom
Conversation
3c1025c to
a61f59a
Compare
Discussed with the Wagtail core team. For a good overview of why, this article is pretty good: https://iscinumpy.dev/post/bound-version-constraints/#tldr
SebCorbin
approved these changes
Oct 21, 2025
Member
Author
|
Looks like I jinxed myself by saying:
Because #178 is caused by pillow-heif 1.0.0 being used... I don't see a reason to hold pillow-heif back to an older version to fix an issue that appears to be caused by a faulty image file which should not have worked. Will proceed with raising the minimum version as planned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Pillow 12 release notes - nothing that affects us this time.
Python 3.9 has reached end of life and is no longer supported. Python 3.14 support is no longer provisional.
I've decided to simplify the pillow-heif requirement a bit and raise it at the same time to a sensible value. I don't see any reason why anyone would still be on an older version and hence don't believe this will cause issues. All the wheels for platforms we support are present, no one should suffer a negative effect from this change.
Verified this patch is okay by installing an editable a patched version in one of my Wagtail projects, deleted renditions and browsed the site to check if anything is off.